window.cusString = '十里铺检查' // 标题

window.cusColumn = [
  /**
   *@description 表头
   *@param {title} 名称
   *@param {ellipsis} 是否溢出隐藏 ture/false
   *@param {align} 是否居中显示 'center'/'left'/'right'
   *@param {with} 显示宽度 eg: 200
   *@param {children} 有子栏目需要写上
   *@param {dataIndex} eg: window.dataSource.police_station_name
   */
  {
    title: '派出所名称',
    ellipsis: true,
    align: 'center',
    // with: 200,
    dataIndex: 'police_station_name'
  },
  {
    title: '特殊行业',
    children: [
      {
        // with: 200,
        title: '旅馆业',
        ellipsis: true,
        align: 'center',
        dataIndex: 'hotel_industry'
      },
      {
        // with: 200,
        title: '拍卖业',
        ellipsis: true,
        align: 'center',
        dataIndex: 'auction'
      }
    ]
  },
  {
    title: '九小场所',
    children: [
      {
        // with: 200,
        title: '购物场所',
        ellipsis: true,
        align: 'center',
        dataIndex: 'shop'
      },
      {
        // with: 200,
        title: '餐饮场所',
        ellipsis: true,
        align: 'center',
        dataIndex: 'eat'
      }
    ]
  },
  {
    title: '合计',
    ellipsis: true,
    align: 'center',
    // with: 200,
    dataIndex: 'count'
  }
]

window.dataSource = [
  /**
  * @description 对应的列表数据 需要与表头的dataindex对应 如某一列对应的数据有缺失则显示为空
  */
  {
    id: '1',
    police_station_name: '十里铺',
    hotel_industry: '100',
    auction: '300',
    shop: '100',
    eat: '358',
    count: '858'
  },

  {
    id: '2',
    police_station_name: '大雁塔',
    hotel_industry: '100',
    auction: '300',
    shop: '100',
    eat: '358',
    count: '858'
  }
]
